#set(title='我的书评',menu='mycomments',statusMap={'0':'待审核','1':'审核通过','2':'审核不通过'},gradeMap={'1':'非常不满','2':'不满意','3':'一般','4':'满意','5':'非常满意'})
#@user_layout()
#define user_main()
	 <h1 class="page-header">#(title)</h1>
     <div class="table-responsive">
            <table class="table table-striped ">
              <thead>
                <tr>
                  <th>序号</th>
                  <th>图书</th>
                  <th>订单号</th>
                  <th>总体评价</th>
                  <th>我的评论</th>
                  <th>审核状态</th>
                </tr>
              </thead>
              <tbody>
               #for(x : page.getList())
	             	<tr>
	                  <td>#(for.index+1)</td>
	                  <td>
	                  	<a href="#(ctx)/book/detail/#(x.bookId)"><img src="#(uploadPah)#(x.book.bookImg)" alt="book image" width="70px"></a>
	              				<a href="#(ctx)/book/detail/#(x.bookId)">#(x.book.name)</a>
	                  </td>
	                  <td><a href="#(ctx)/order/detail/#(x.orderId)">#(x.orderId)</a></td>
	                  <td>#(gradeMap[x.grade+''])</td>
	                  <td>#(x.content)</td>
	                  <td>#(statusMap[x.status+''])</td>
	                </tr>
                #end
              </tbody>
            </table>
          </div>
#end
